hint: Look at the way this article, do not understand the first skip, read the length of the following may be understood.
git and GitHub
concept
Git---version control tool (command).
Tool Introduction Official Website: http://git-scm.com
Tool
1. Any branch can be created locally. If you do not push it to the server git, the contents of the server will not be affected.
2. Use git push as follows:
Git push file: // home/hebo/work/testgit/Master
In this way, only the master branch is pushed
One of the advantages of git is that it's very easy to operate remotely. This article details 5 git commands, their concepts and usage, and you'll get a complete grasp of git remote operations.
§git Clone
§git Remote
§git Fetch
§
Git is currently the most popular version management system. Learning git has almost become a required skill for developers.
Git has many advantages, one of which is that remote operations are very simple. This article describes five git commands in
Source: Ruan Yifeng
Git is currently the most popular version management system. Learning git has almost become a required skill for developers.
Git has many advantages, one of which is that remote operations are very simple. This article describes
1. Git Concepts1.1. Git libraries are made up of three partsThe git repository is the. git directory, which holds the document index content that we submit, and Git can track the document it manages based on the document index content, enabling
One, Git cloneThe first step in a remote operation is to clone a repository from a remote host and use the git clone command.$ git clone For example, clone the repository of jquery.$ git clone https://github.com/jquery/jquery.gitThe command
If not specified, ' $ ' means execution under the Linux terminal command lineOne. Install gitLinux Fedora Series installation command: $ sudo yum install gitLinux Debian Series installation command: $ sudo apt-get install gitTwo. Configure
OverviewBefore we describe what git is, we need to make a basic overview of versioning (version control), which, in general, is managed and maintained on two dimensions of time and space, and the code itselfAnd the project files of the organization
Git remote operation detailsRuan YifengGit is currently the most popular version management system. Learning Git has almost become a required skill for developers.Git has many advantages, one of which is that remote operations are very simple. This
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.